def _get_max_min():
    list_a = [9, 7, 4, 89, 23, 100, 34, 900045]
    list_a.sort()
    return list_a[len(list_a) - 1], list_a[0]


if __name__ == '__main__':
    max, min = _get_max_min()
    print(max, min)
